package com.bing.entity;

import javax.persistence.Embeddable;
import javax.persistence.OneToOne;
import java.io.Serializable;

/**
 * Created by kaibb on 15-11-2.
 */

@Embeddable
public class CustomerId implements Serializable {
    @OneToOne
    private Person person;
    private String customerNumber;
}
